<template>
     <div class='cxo'>
        <v-header title='集团高管（在职）数据看板'></v-header>
         <v-detail v-if='res.info' :info='res.info' title='集团高管'></v-detail>
        <v-echart v-if='res' :res='res'></v-echart>
         <echart-list v-if='res' :res='res' title='集团高管'></echart-list>
        <v-footer></v-footer>
    </div>
</template>

<script>
import Header from '../dataLookCommon/_header'
import Detail from '../dataLookCommon/_detail'
import Echart from '../cxoLook/echart'
import echartList from '../leaderLook/echart'
import Footer from '../dataLookCommon/_footer'
import URL from '../../common/js/dataLookUrl'
    export default {
        components:{
            'v-header':Header,
            'v-detail':Detail,
            'v-echart':Echart,
            'echart-list':echartList,
            'v-footer':Footer,
        },
        data(){
            return {
                res:''
            }
        },
        created(){
            let params = {
                leaderType:'B'
            }
            this.Axios.Post(URL.getemployeeBycesusdata.url,params)
                .then(res =>this.res = res.data.datas)
        }
    }
</script>

<style scoped>
.cxo {
  overflow-x: hidden;
}
</style> 